package heap

import "hi-jvm/classfile"

/*
类符号引用
 */
type ClassRef struct {
	SymRef
}

func newClassRef(cp *ConstantPool, classInfo *classfile.ConstantClassInfo) *ClassRef {
	ref := &ClassRef{}
	ref.Cp = cp
	ref.ClassName = classInfo.Name()
	return ref
}

